/* CSS styles for bug list (99% rewritten)
 * License: Dual-license GPL 3.0+ or MPL 1.1+
 * Contributor(s): Vitaliy Filippov <vitalif@mail.ru>
 */

.search_description { display: inline-block; margin: 2px; padding: 2px; border: 1px solid gray; }
.search_description._and { background-color: #e0e0ff; }
.search_description._or { background-color: #ffffe0; }
.search_description li { list-style-type: none; margin: 0 0.5em; display: inline; }
.search_description .search_field { font-weight: bold; }
.search_description .search_value { font-size: 85%; }

.zero_results, .zero_result_links { font-size: 120%; font-weight: bold; }
.zero_result_links { margin: 0; }
.bz_query_head { margin: 0 0 8px; }
.bz_buglist_header th { text-align: left; }

.bz_sort_order_primary,
.bz_sort_order_secondary {
  display: inline-block;
  padding-left: .2em;
  text-decoration: none;
}

th.sorttable_sorted a:after { content: "▲"; color: gray; }
th.sorttable_sorted_reverse a:after { content: "▼"; color: gray; }
th.sorted_0.sorttable_sorted a:after { content: "▲"; color: black; }
th.sorted_0.sorttable_sorted_reverse a:after { content: "▼"; color: black; }
th.sorted_0 { background-color: #a0a0a0; }
th.sorted_1 { background-color: #acacac; }
th.sorted_2 { background-color: #b8b8b8; }
th.sorted_3 { background-color: #c4c4c4; }
th.sorted_4 { background-color: #d0d0d0; }
th.sorted_5 { background-color: #dcdcdc; }

.bz_row_odd { background-color: #F7F7F7; color: #000000; }
.bz_row_even { background-color: #FFFFFF; color: #000000; }

.bz_buglist .bz_short_desc_column a { color: black; text-decoration: none; }
.bz_buglist .bz_short_desc_column a:hover { text-decoration: underline; }

/* Style bug rows according to severity. */
.bz_blocker, .bz_blocker .bz_short_desc_column a { color: red; font-weight: bold; }
.bz_critical, .bz_critical .bz_short_desc_column a { color: red; }
.bz_enhancement, .bz_enhancement .bz_short_desc_column a { color: #666; }

/* Align columns in the "change multiple bugs" form to the right. */
table#form tr th { text-align: right; }

/* we use a first-child class and not the pseudo-class because IE
 * doesn't support it :-( */
tr.bz_secure td.first-child {
  background-image: url("../../images/padlock.png");
  background-position: center left;
  background-repeat: no-repeat;
  background-color: inherit;
}

th.first-child, td.first-child { padding-left: 20px; }
td.bz_total_label { font-weight: bold; }

td.bz_total {
  border-top-style: solid;
  border-top-color: #929bb1;
  border-top-width: 3px;
  text-align: right;
}

#commit, #action { margin-top: .25em; }
.bz_query_explain { text-align: left; }

/* Bug list column styles */
.bz_buglist td { white-space: nowrap; }

.bz_buglist .bz_interval_time_column,
.bz_buglist .bz_estimated_time_column,
.bz_buglist .bz_remaining_time_column,
.bz_buglist .bz_work_time_column,
.bz_buglist .bz_percentage_complete_column { text-align: right; }

.bz_buglist .bz_short_desc_column,
.bz_buglist .bz_short_short_desc_column,
.bz_buglist .bz_status_whiteboard_column,
.bz_buglist .bz_keywords_column,
.bz_buglist .bz_flagtypes_name_column,
.bz_buglist .bz_comment0_column,
.bz_buglist .bz_f1,
.bz_buglist .bz_f4,
.bz_buglist .bz_f7 { white-space: normal; }

.bz_buglist .bz_blocked_column,
.bz_buglist .bz_dependson_column { width: 8%; white-space: normal; }

/* Bug states - duplicated here for external stylesheet usage */
.bz_st_UNCONFIRMED, .bz_UNCONFIRMED td.first-child a { font-style: italic; }
.bz_st_RESOLVED, .bz_RESOLVED td.first-child a { text-decoration: line-through; }
.bz_st_VERIFIED, .bz_VERIFIED td.first-child a { text-decoration: line-through; border: 1px dashed #2f6fab; color: black; background-color: #f9f9f9; line-height: 1.1em; }
.bz_st_CLOSED, .bz_CLOSED td.first-child a { text-decoration: line-through; border: 1px solid #2f6fab; background-color: #f9f9f9; line-height: 1.1em; }
